package com.gxa.learning.portal.service;

import com.gxa.learning.core.exception.BusinessException;
import com.gxa.learning.core.pojo.Project;
import com.gxa.learning.core.pojo.ProjectDetails;
import com.gxa.learning.core.service.BaseService;

import java.util.List;

/**
 * 和项目详情相关操作
 *
 * @Author lirucong
 * @Date 10:06 2021/12/10
 */
public interface ProjectDetailsService extends BaseService<ProjectDetails> {
    /**
     * 根据id返回符合条件的项目详情
     */
    ProjectDetails getById(Long pid) throws BusinessException;

    /**
     * 根据id返回符合条件的项目详情
     */
    List<ProjectDetails> search(String condition) throws BusinessException;
}
